See how xen project compares to other vendors in security performance
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Xen Security Advisory CVE-2026-119781,CVE-2026-119782,CVE-2026-119783 / XSA-535
x86: Incorrect ordering of page-freeing and p2m flush
ISSUE DESCRIPTION =================
For HVM and PVH guests using HAP, Xen defers the TLB flush that follows a p2m change until the p2m lock is released, so that several changes done under the same locked region issue a single flush.
Some paths that remove a page from the p2m however drop the last reference to the page before that flush is done. The page is then freed, and can be reused, while stale TLB entries still allow the guest to access it.
IMPACT ======
A guest can retain access to memory it no longer owns. This can lead to privilege escalation, Denial of Service (DoS) affecting the entire host, and information leaks.
VULNERABLE SYSTEMS ==================
Xen versions 4.7 and onwards are vulnerable. Xen versions 4.6 and older are not vulnerable.
Only x86 systems are vulnerable. Arm systems are not vulnerable.
On Intel hardware all vulnerable versions are affected. On AMD hardware only Xen versions 4.22 and onwards are affected.
Only HVM and PVH guests using HAP can leverage the vulnerability.
MITIGATION ==========
There is no known mitigation.
CREDITS =======
This issue was discovered by Roger Pau Monné of AMD.
RESOLUTION ==========
Applying the appropriate set of attached patches resolves this issue.
Note that patches for released versions are generally prepared to apply to the stable branches, and may not apply cleanly to the most recent release tarball. Downstreams are encouraged to update to the tip of the stable branch before applying these patches.
xsa535/xsa535-?.patch xen-unstable - Xen 4.19.x xsa535/xsa535-4.18-?.patch Xen 4.18.x - Xen 4.17.x
$ sha256sum xsa535/ 42083890ae0518a4aa8b786d291791bb449405044f47afdbd55a5fd2f1933dd4 xsa535/xsa535-1.patch cc0adac0222471f599c88f79109fd84d75849daf69b9f106102e28d2eb38ad14 xsa535/xsa535-2.patch 9c1e52c6f4f3f97c081793bbf6d722ac94276195067265a3c415a7396a9b2714 xsa535/xsa535-3.patch a9a2a89bd14a33fc5096cff3edd1a89817c68d42f4d715823c9ca700b86c80f5 xsa535/xsa535-4.18-1.patch 848a13e675915978b482f6023b7e063319f8ade582e3af7ae7f6eecca2794b44 xsa535/xsa535-4.18-2.patch 0677d16bccb92336792bea455a793063bc3753391e00b59897e444a9c2126770 xsa535/xsa535-4.18-3.patch $
NOTE REGARDING LACK OF EMBARGO ==============================
While the Xen Security Team was working on a fix, a 3rd party posted an incorrect fix for the same issue publicly. That fix only changes the removal of foreign mappings, and does not resolve this issue. -----BEGIN PGP SIGNATURE-----
iQFABAEBCAAqFiEEI+MiLBRfRHX6gGCng/4UyVfoK9kFAmsIWKMMHHBncEB4ZW4u b3JnAAoJEIP+FMlX6CvZglgH/3WrMR6rc+g1x5LGBiGB5xnLZqoezvtkqtASQsSE 7Lf3wfkcCoJRHu+4b63cnqe6M5EbniC2xuUPFRle/lz7j7zw0iS7yC+BxKpG+V7O o76Alivp4JJB4gFSOvwTyU3ayrnPnsgP9K0jMm3dqHwUCDNSPZBZiY9tCNTvU39k TeUB5mvrPdy8HLgX31ej12gX17ORITPU3UK6l9xL2fB54/0nR5jqNPG4h8o5QQzJ do6HYM2LjS0YnHcoP5/dUhIzVs0hRaCjcnq4Xgbz5trHHB6FJhkeWk01Ny8whKBK z+ubbHK8+mnQtklpOmC0ukB7zCz3vRNywrmST9jqysSctH8= =FsFr -----END PGP SIGNATURE-----
An out-of-bounds read vulnerability in the IOMMU could allow a malicious guest to corrupt hypervisor (HV) pages and potentially cause a host crash leading to loss of availability.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Xen Security Advisory CVE-2024-21963 / XSA-524
AMD IOMMU Out-of-Bounds Device Table Read
ISSUE DESCRIPTION =================
With AMD IOMMUs, the OS or Hypervisor chooses the position and size of the Device Table, which holds the main configuration information for devices.
AMD have disclosed a vulnerability in some IOMMUs, whereby under specific circumstances they read beyond the size chosen by the OS or Hypervisor. This gets interpreted as valid configuration data for certain devices.
For more information, see: https://www.amd.com/en/resources/product-security/bulletin/amd-sb-3060.html
IMPACT ======
Depending on platform and system configuration, a domain might be able to control the IOMMU configuration for a device.
If a domain can exercise such control, it can modify arbitrary host memory and escalate it's privilege to that of Xen.
VULNERABLE SYSTEMS ==================
Systems running all versions of Xen are affected.
Only certain AMD systems are believed to be vulnerable. Systems from other manufacturers are not known to be affected.
A particular system is potentially vulnerable if:
1) Any of the IOMMUs in the system have a Device Table size less than 2MB. i.e. the system's IVRS table describes that particular IOMMU as not covering a full PCI bus, and 2) There is either: a) A real device behind the IOMMU which is the first function not covered by the IVRS description, or b) Any device behind the IOMMU which can be configured to use the initiator ID of the first function not covered by the IVRS description.
If the above situation holds, the IOMMU will read out of bounds from the next sequential page in physical memory, and interpret it as valid configuration data for the device. This page may belong to a guest.
MITIGATION ==========
There are no mitigations.
RESOLUTION ==========
Applying the appropriate attached patch resolves this issue.
Note that patches for released versions are generally prepared to apply to the stable branches, and may not apply cleanly to the most recent release tarball. Downstreams are encouraged to update to the tip of the stable branch before applying these patches.
xsa524.patch xen-unstable - Xen 4.17.x
$ sha256sum xsa524 01204a1bacc2bfb44506975a147fbf5f067831eebee37b7f8cf55f558adceb50 xsa524.patch $
NOTE CONCERNING CVE ===================
The use of a 2024 CVE on a 2026 disclosure was queried with AMD, and confirmed to be correct. -----BEGIN PGP SIGNATURE-----
iQFABAEBCAAqFiEEI+MiLBRfRHX6gGCng/4UyVfoK9kFAmrzWUUMHHBncEB4ZW4u b3JnAAoJEIP+FMlX6CvZF3oIALkMaorBfSljZ7A0pDIjp9Ejy3vkQgMfMnyDpmnh n/M0rdHDaX+hpavhsCThZd65j6fwLiLqeKC14FV9dxmb3VqdW7Efpc6J/LZ3Z3ZW hbtej/hGRfjWGKF4El6FH4Lzx5AjDmKqDyvR71+TL2sXT80xvKmWfVhx8MGG+JGb lKuBp0lS+72qhIGdMr3IWOebYi0h75JA0XgPlm2YGajn7CL0RpImO78gb5WvT5sU /Bv9kUBhsZsitTEV8vXdF4A0ksZM9xIYQavsfq+4YyRGYmAYwQqR3mYHF2SJdq4R MGsY5LxhFcktw+dfRq9rtfU/vnVkfxDBgzQrwRFts8YbCqI= =bZvY -----END PGP SIGNATURE-----
Improper validation of unsafe equivalence in input could allow 5.9 an attacker with high privileges…
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Xen Security Advisory CVE-2026-102703,CVE-2026-102704 / XSA-523 version 2
arbitrary read/write via grant copy
UPDATES IN VERSION 2 ====================
Public release.
ISSUE DESCRIPTION =================
A common access pattern is a batch of Grant Copy operations acting on adjacent address ranges in the same source or destination page. For performance reasons, Xen caches details internally to reuse already validated data. The conditions on when to re-validate the internal data were not correct in some cases:
- Frame numbers and grant references could wrongly be mixed up. This is CVE-2026-102703.
- Copying by frame number (rather than grant reference) is permitted only when operating on the caller's own memory. The check to enforce this restriction was misplaced. This is CVE-2026-102704.
IMPACT ======
A malicious guest can read and write arbitrary memory, belonging to other domains, including Dom0.
VULNERABLE SYSTEMS ==================
All Xen versions from 4.6 onwards are vulnerable. Xen versions 4.5 and earlier are not vulnerable.
MITIGATION ==========
There is no known mitigation.
CREDITS =======
This issue was discovered by Anthropic using Claude, then validated by Stephan Lipp of Ada Logics.
It was then independently reported by the CodeAnt AI Security Research Team.
RESOLUTION ==========
Applying the appropriate set of attached patches resolves this issue.
Note that patches for released versions are generally prepared to apply to the stable branches, and may not apply cleanly to the most recent release tarball. Downstreams are encouraged to update to the tip of the stable branch before applying these patches.
xsa523-?.patch xen-unstable - Xen 4.19.x xsa523-4.18-?.patch Xen 4.18.x - Xen 4.17.x
$ sha256sum xsa523 87562e68c584dcc6b568348e7ba6cfde592798cb89f372364792afda65aa6895 xsa523-1.patch 9cd4e76fa3587f491f5bb0f895f375fcf24df8bd9bdf602c343081e7411b92f0 xsa523-2.patch c1accb1fa55176cb6191e091d93198068630acbc6529966738669a43d5c2e38e xsa523-4.18-1.patch efc16fe8830066276fb50f01f24a358194a752507077fdb61a60f891dc1a7019 xsa523-4.18-2.patch $
DEPLOYMENT DURING EMBARGO =========================
Deployment of the patches and/or mitigations described above (or others which are substantially similar) is permitted during the embargo, even on public-facing systems with untrusted guest users and administrators.
But: Distribution of updated software is prohibited (except to other members of the predisclosure list).
Predisclosure list members who wish to deploy significantly different patches and/or mitigations, please contact the Xen Project Security Team.
(Note: this during-embargo deployment notice is retained in post-embargo publicly released Xen Project advisories, even though it is then no longer applicable. This is to enable the community to have oversight of the Xen Project Security Team's decisionmaking.)
For more information about permissible uses of embargoed information, consult the Xen Project community's agreed Security Policy: http://www.xenproject.org/security-policy.html -----BEGIN PGP SIGNATURE-----
iQFABAEBCAAqFiEEI+MiLBRfRHX6gGCng/4UyVfoK9kFAmrpzHcMHHBncEB4ZW4u b3JnAAoJEIP+FMlX6CvZYTAIALOhpiCcbIvbmpr8/yLSFfLXJ30HIq+rihtrrwHi IYuUujGKDMMfZ+peGDzjUvWdSpeccHVqzxYyQbeqKN+bxeiRHyPaquaKGgMJgPgg aI8/Ee5zeCBESEsAAI6Z6REXPT/ViL1MY4+gI8cGjD3CIfoBoBhHqDBxtDlkNtH6 bFH4E6CsLGPe1PELDBjEaqwFPiY03DItRBywXi9ygfATn47EnViQOlGSZm4cMIaX wdT5dJKydXjvscrglijQSKUzhqC8qaTPwxF7pNPZWjw06QNBQUvLQi68iWgA1Hp/ ACiQV+gJuY+qEH93+UbQkxl7k0DBXfZLo6CxdrKupI3MVB4= =SYnT -----END PGP SIGNATURE-----
CVE-2026-99999 is just the first in a long list of KVM-specific vulnerabilities since the summer. As more and more people are going to be choosing to put their AI agents into a AI Agent sandbox (oftentimes running Xen or KVM under the hood), this blog talks through the strengths and possible shortcomings of both virtualisation technologies.
XPTI (Xen Page Table Isolation) was introduced to mitigate Meltdown (CVE-2017-5754, one aspect of XSA-254). This involves copying 64-bit PV guest page table entries from guest-chosen root page tables to the Xen- chosen one which is in actual use by hardware. To read the guest root page table, the directmap is used. PV guests, however, have a directmap which may not cover all memory; in particular this is the case if any memory extends beyond the 5 TiB (CONFIGBIGMEM=y: 3.5 TiB) address boundary.
The workaround for XSA-433 (Zenbleed, CVE-2023-20593) was later re-worked to better integrate with other manipulations of the same MSR. In this rework an inverted conditional was introduced, resulting in the workaround to not be applied when needed and vice versa.
For more details, see: http://xenbits.xen.org/xsa/advisory-433.html
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Xen Security Advisory CVE-2026-102700 / XSA-520 version 2
gnttab: cache-flush handling may cause page reference leak
UPDATES IN VERSION 2 ====================
Public release.
ISSUE DESCRIPTION =================
With its original introduction, GNTTABcacheflush was made available uniformly. XSA-232 (CVE-2017-14318) then covered an omitted NULL pointer check, yet the addition of that check failed to adjust the subsequent error path. That error path fails to drop a page reference in case the specified page is owned by a special system domain (DOMIO and DOMCOW are system domains which can have memory pages assigned to them.)
IMPACT ======
The most likely outcome is Denial of Service (DoS) of either Domain 0 (then likely affecting the entire host) or of another domain.
VULNERABLE SYSTEMS ==================
Xen versions 4.5 through 4.20 are affected. Xen versions 4.21 and newer as well as 4.4 and older are not affected.
Only x86 systems are vulnerable. Arm systems are not vulnerable.
MITIGATION ==========
There is no known mitigation.
CREDITS =======
This issue was discovered independently by Andrew Cooper of Citrix and Yehyeong Lee.
RESOLUTION ==========
Applying the appropriate attached patch resolves this issue.
Note that patches for released versions are generally prepared to apply to the stable branches, and may not apply cleanly to the most recent release tarball. Downstreams are encouraged to update to the tip of the stable branch before applying these patches.
xsa520.patch Xen 4.20.x - Xen 4.17.x
$ sha256sum xsa520 e6814fe4a77d38f83c7bf3b92e8d24a0d95508572b845c622985e7021338cca9 xsa520.patch $
DEPLOYMENT DURING EMBARGO =========================
Deployment of the patches and/or mitigations described above (or others which are substantially similar) is permitted during the embargo, even on public-facing systems with untrusted guest users and administrators.
But: Distribution of updated software is prohibited (except to other members of the predisclosure list).
Predisclosure list members who wish to deploy significantly different patches and/or mitigations, please contact the Xen Project Security Team.
(Note: this during-embargo deployment notice is retained in post-embargo publicly released Xen Project advisories, even though it is then no longer applicable. This is to enable the community to have oversight of the Xen Project Security Team's decisionmaking.)
For more information about permissible uses of embargoed information, consult the Xen Project community's agreed Security Policy: http://www.xenproject.org/security-policy.html -----BEGIN PGP SIGNATURE-----
iQFABAEBCAAqFiEEI+MiLBRfRHX6gGCng/4UyVfoK9kFAmrOItgMHHBncEB4ZW4u b3JnAAoJEIP+FMlX6CvZw3AIALH4pnPt5g51TX1HIUUjtyqxK9j6IyFtYgHqptRA XTaZAD+NlU9R97SKGG8/YkMwdIDOQ43HE0sjJpARScQbCXcoq781yf4U1xbuy56z prClo+bFT61BnbJnzpQuhmZ1kfPYhqqeYSEsm9TUj6g1Z3j2oq45aISrgyDJgsRJ /t8Reelp/kFhQHql7Bt7uRy0xYTHcYuN56dGDAJJ1MsExsbEdLW4hgIcTjBkD04A 29MSv3j1WlCpWSCIEs27dzJv3i5mrcp1hSXfDo84NYMzxEY9FRcSGPNaGiG0/5pG gRe67qr5htHW8rYiTjJRc2b/Sp6D1f7+QThqcq010NwdrzE= =v0su -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Xen Security Advisory CVE-2026-102699,CVE-2026-102702 / XSA-519 version 2
Arm: multiple issues with GNTTABOPcacheflush
UPDATES IN VERSION 2 ====================
Public release.
ISSUE DESCRIPTION =================
1) XSA-437 (CVE-2023-34321) addressed issues with overflows in calculations involved in guests flushing caches through GNTTABOPcacheflush. Unfortunately the fix there introduced a calculation which may underflow, resulting in a loop which would - at least on 64-bit Arm - take excessively long, and which would likely eventually crash the hypervisor.
This is CVE-2026-102699.
2) GNTTABOPcacheflush may be issued on memory mapped from another domain using the grant table interface. However there was no restriction to disallow the use of invalidate-without-clean against read-only grant mappings, which may corrupt the granted memory.
This is CVE-2026-102702.
IMPACT ======
A malicious unprivileged guest may crash the hypervisor, causing a Denial of Service (DoS) affecting the entire host, or corrupt memory belonging to another domain. Privilege escalation and information leaks cannot be ruled out.
VULNERABLE SYSTEMS ==================
All Xen versions from 4.5 onwards are vulnerable. Xen versions 4.4 and earlier are not vulnerable.
Only Arm systems are vulnerable. x86 systems are not vulnerable.
MITIGATION ==========
There is no known mitigation.
CREDITS =======
CVE-2026-102699 was discovered by Leonid Komarianskyi of EPAM. It was later independently reported by Ayan Kumar Halder of AMD.
CVE-2026-102702 was found by the security team while looking at the surrounding code.
RESOLUTION ==========
Applying the appropriate attached patch resolves this issue.
Note that patches for released versions are generally prepared to apply to the stable branches, and may not apply cleanly to the most recent release tarball. Downstreams are encouraged to update to the tip of the stable branch before applying these patches.
xsa519-?.patch xen-unstable - Xen 4.21.x xsa519-4.20-?.patch Xen 4.20.x - Xen 4.17.x
$ sha256sum xsa519 3abfe7776402ba82d54b72163427694055cc3a5a729fd50a15af58699fef7903 xsa519-1.patch 6f09a24c5c793570e290ec853220099c617e372d96b93f938439ac4a18191dd2 xsa519-2.patch 1ed852f7e22fafe75e278dc913377fda5b0b73c8af51fe872684eb5b0bcb9597 xsa519-4.20-1.patch df5ba864761f3274df817fa362e234afb4b5e3f95b47daf25a307ac3d922aab6 xsa519-4.20-2.patch $
DEPLOYMENT DURING EMBARGO =========================
Deployment of the patches and/or mitigations described above (or others which are substantially similar) is permitted during the embargo, even on public-facing systems with untrusted guest users and administrators.
But: Distribution of updated software is prohibited (except to other members of the predisclosure list).
Predisclosure list members who wish to deploy significantly different patches and/or mitigations, please contact the Xen Project Security Team.
(Note: this during-embargo deployment notice is retained in post-embargo publicly released Xen Project advisories, even though it is then no longer applicable. This is to enable the community to have oversight of the Xen Project Security Team's decisionmaking.)
For more information about permissible uses of embargoed information, consult the Xen Project community's agreed Security Policy: http://www.xenproject.org/security-policy.html -----BEGIN PGP SIGNATURE-----
iQFABAEBCAAqFiEEI+MiLBRfRHX6gGCng/4UyVfoK9kFAmrOIrAMHHBncEB4ZW4u b3JnAAoJEIP+FMlX6CvZ9ccIALBHbUY7GDoW1oFxKSpvrFFzwdSeq+yR7Y+cnBy7 6j9ehJE2zC1qLqHy0MQjFcmdSvdm/1Qy4CZ+cZgKtOMCeOvV8OwA6QkuHV5fch0f 2wHq71u/9p7wWhsILb9EHaUHBFNXiQ+joahKPyX4FHwz2aCB+aodqCRMsvk0Kd7K PSX4FotvGHSfgxrdzP6oLPOrmvVwy91ienOabE7QMTW2anghDIFVfjycYuebfXxF S+d7ciAcHdd72fOhM/wVlXZohslxw14ESJYZMUOvha8godQjPwCtT/A/SDc/k0Et 98xImFp4NU9W4Pk42eS+JUs3KNLWFapzVePRQ0Ku80Ia6wg= =xgyt -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Xen Security Advisory CVE-2026-79611 / XSA-518 version 2
VMX: VMentry failure with branch tracing and blocked states
UPDATES IN VERSION 2 ====================
Public release.
ISSUE DESCRIPTION =================
For XSA-308 logic was introduced, as VMX VMEntry checks do not like the exact combination of state which occurs when #DB in intercepted, Single Stepping is active, and blocked by STI/MovSS is active, despite this being a legitimate state to be in. The resulting VMEntry failure is fatal to the guest.
Sadly there is another special sub-case of the above, with branch tracing enabled. In that case the prior adjustment would still cause a VMentry failure, as before fatal to the guest.
IMPACT ======
HVM/PVH guest userspace code may be able to crash the guest, resulting in a guest Denial of Service.
VULNERABLE SYSTEMS ==================
All versions of Xen are affected.
Only systems supporting VMX hardware virtual extensions (Intel, VIA or Zhaoxin CPUs) are affected. Arm as well as AMD and Hygon systems are unaffected.
Only HVM/PVH guests are affected. PV guests cannot leverage the vulnerability.
MITIGATION ==========
Running only PV guests will avoid this vulnerability.
Running HVM guests on only AMD or Hygon hardware will also avoid this vulnerability.
CREDITS =======
This issue was discovered by Claude Opus and diagnosed as a security issue by Teddy Astie of Vates.
RESOLUTION ==========
Applying the appropriate attached patch resolves this issue.
Note that patches for released versions are generally prepared to apply to the stable branches, and may not apply cleanly to the most recent release tarball. Downstreams are encouraged to update to the tip of the stable branch before applying these patches.
xsa518.patch xen-unstable - Xen 4.21.x xsa518-4.20.patch Xen 4.20.x - Xen 4.17.x
$ sha256sum xsa518 a703af59b22f1e47543af0668c8715b4e4011ba4fc05fd8b94bf05503dce88ef xsa518.patch a1a1b3548166e051f62a0759af5df8d365f524ae52f4bbbe642d45692a1f8bde xsa518-4.20.patch $
DEPLOYMENT DURING EMBARGO =========================
Deployment of the patches and/or mitigations described above (or others which are substantially similar) is permitted during the embargo, even on public-facing systems with untrusted guest users and administrators.
But: Distribution of updated software is prohibited (except to other members of the predisclosure list).
Predisclosure list members who wish to deploy significantly different patches and/or mitigations, please contact the Xen Project Security Team. -----BEGIN PGP SIGNATURE-----
iQFABAEBCAAqFiEEI+MiLBRfRHX6gGCng/4UyVfoK9kFAmrOIooMHHBncEB4ZW4u b3JnAAoJEIP+FMlX6CvZTOUIAMMapd/RMFzQxmwdwICbmj2zDnEWutkzQyV0bMMK Ui2VleXQ7pDWH5OEfDNl6644Gs6x4zB9lrTZFubAFvXjqNUk9C3QxU6LOlV0RQAq a96/glbPhXhOONdn1K5DuJq35sKjhGdsy8B+Ati+IGPstT8bGytrz+CVbdR1bnLb 3XvnRHqFSEHoQxejE/aRXpRw4k1HHD5wFQ/WfvgOEKYj+Ghjm+KE2sNhcahxxFf4 ys8v9JWBKhnLAe+mJIiMPGiKmX5uUVl6HhdX6SjTHuzzbsmITF3VOwsnHZR9vLn1 BqUwLG/uQKes4LRinfOA5RrOMt/q/ChjXPw2x6IZZJLjHVk= =hyph -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Xen Security Advisory CVE-2026-79610 / XSA-517 version 2
grant-table: double version change race
UPDATES IN VERSION 2 ====================
Public release.
ISSUE DESCRIPTION =================
XSA-501 was about issues with v1 -> v2 and v2 -> v1 changes racing certain other grant table operations. Sadly a v2 -> v1 -> v2 change has yet another effect which wasn't accounted for: During the first change, status pages would be freed. During the second change they would be allocated again. Hence across the full pair of change the addresses of the status pages may change, rendering stale previously calculated pointers into the status array.
IMPACT ======
An unprivileged guest may be able to elevate its privileges to that of the host. Information leaks and Denial of Service (DoS) are possible as well.
VULNERABLE SYSTEMS ==================
All Xen versions from 4.0 onwards are vulnerable. Xen versions 3.4 and earlier are not vulnerable.
Only x86 guests permitted to use grant table version 2 interfaces can leverage this vulnerability. On Arm, grant table v2 use is explicitly unsupported.
Only multi-vCPU guests can leverage this vulnerability.
Xen versions 4.13 and newer offer a way to build Xen without grant table support. Such hypervisors (CONFIGGRANTTABLE turned off) are not vulnerable.
MITIGATION ==========
Using the "gnttab=max-ver:1" hypervisor command line option will avoid the vulnerability.
Using the "maxgrantversion=1" guest configuration option for guests will also avoid the vulnerability.
CREDITS =======
This issue was discovered by Claude Opus and diagnosed as a security issue by Teddy Astie of Vates.
RESOLUTION ==========
Applying the appropriate attached patch resolves this issue.
Note that patches for released versions are generally prepared to apply to the stable branches, and may not apply cleanly to the most recent release tarball. Downstreams are encouraged to update to the tip of the stable branch before applying these patches.
xsa517.patch xen-unstable - Xen 4.17.x
$ sha256sum xsa517 0f114af84cd925f8bc69b26386e2e4a95a52f947bc400f961a9e1ba46c0a2e05 xsa517.patch $
DEPLOYMENT DURING EMBARGO =========================
Deployment of the patches described above (or others which are substantially similar) is permitted during the embargo, even on public- facing systems with untrusted guest users and administrators.
HOWEVER, deployment of the mitigation is NOT permitted (except where all the affected systems and VMs are administered and used only by organisations which are members of the Xen Project Security Issues Predisclosure List). Specifically, deployment on public cloud systems is NOT permitted.
This is because restricting the available grant table version is a guest visible configuration change, which may lead to re-discovery of the issue.
Deployment of this mitigation is permitted only AFTER the embargo ends.
AND: Distribution of updated software is prohibited (except to other members of the predisclosure list).
Predisclosure list members who wish to deploy significantly different patches and/or mitigations, please contact the Xen Project Security Team.
(Note: this during-embargo deployment notice is retained in post-embargo publicly released Xen Project advisories, even though it is then no longer applicable. This is to enable the community to have oversight of the Xen Project Security Team's decisionmaking.)
For more information about permissible uses of embargoed information, consult the Xen Project community's agreed Security Policy: http://www.xenproject.org/security-policy.html -----BEGIN PGP SIGNATURE-----
iQFABAEBCAAqFiEEI+MiLBRfRHX6gGCng/4UyVfoK9kFAmrOIlkMHHBncEB4ZW4u b3JnAAoJEIP+FMlX6CvZAGUH/3wERoCBP6lIwfFmIMiAcqVVctqz6/8OgplQEp8A inNRPR8Avx++0lt4AdERiNYy3xwxGAZzJsxYC3ipCaHvMwOmm11DiMX5yuhvefNw TJxWaWut2QmF0Vi0G4acvvlfslb9JA9quEgLDzF/2dMiyHzTL4xvdeJ5OR5zXAoD hexjk0DCSDcYRHnD0OautofMGTaBaGJVHz08uRNkz3gOxumAeKnxmfelF8QgnTb3 jRYIt5z+Kye8oXZ0uTVY86YR7YbuiaHAJx1YZzceyfaVjJzvS8ZsTFt2CXshcex8 33fw3iQnY9ImA/NC11y4OLt8F8nb+Ge2Cge98wBt8NPSoBc= =SAIu -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Xen Security Advisory CVE-2026-79609 / XSA-516 version 2
x86: XPTI may break on huge-memory systems
UPDATES IN VERSION 2 ====================
Public release.
ISSUE DESCRIPTION =================
XPTI (Xen Page Table Isolation) was introduced to mitigate Meltdown (CVE-2017-5754, one aspect of XSA-254). This involves copying 64-bit PV guest page table entries from guest-chosen root page tables to the Xen- chosen one which is in actual use by hardware. To read the guest root page table, the directmap is used. PV guests, however, have a directmap which may not cover all memory; in particular this is the case if any memory extends beyond the 5 TiB (CONFIGBIGMEM=y: 3.5 TiB) address boundary.
IMPACT ======
A 64-bit PV guest may be able to elevate its privilege to that of the host. It is also possible for them to observe information pertaining to other guests, or to cause Denial of Service (DoS) affecting the entire host.
VULNERABLE SYSTEMS ==================
All versions of Xen with the XPTI work backported to are affected. In upstream these are Xen 4.7.5 and onwards, Xen 4.8.3 and onwards, Xen 4.9.2 and onwards, Xen 4.10.1 and onwards, and all major releases from 4.11 onwards.
Only 64-bit PV guests can leverage the vulnerability. HVM and PVH guests cannot leverage the vulnerability. 32-bit PV guests haven't been security supported anymore.
Only x86 systems are affected. Arm systems are not affected.
Only systems with RAM above the 5 TiB (CONFIGBIGMEM=y: 3.5 TiB) boundary are affected. Systems with no RAM above the 5 TiB (CONFIGBIGMEM=y: 3.5 TiB) boundary are not affected.
MITIGATION ==========
Not running 64-bit PV guests will avoid the vulnerability.
The "mem=" hypervisor command line option may be used to limit the amount of memory Xen is going to use. That would be "mem=5T" for the CONFIGBIGMEM=n case and "mem=3584G" for the CONFIGBIGMEM=y one.
CREDITS =======
This issue was discovered by George Dunlap.
RESOLUTION ==========
Applying the appropriate attached patch resolves this issue.
Note that patches for released versions are generally prepared to apply to the stable branches, and may not apply cleanly to the most recent release tarball. Downstreams are encouraged to update to the tip of the stable branch before applying these patches.
xsa516.patch xen-unstable - Xen 4.19.x xsa516-4.18.patch Xen 4.18.x xsa516-4.17.patch Xen 4.17.x
$ sha256sum xsa516 aff590335eed173a2f67375829a25682983cacf14ff170d25e636533552ecaa8 xsa516.patch 06b818ca56dff7ccc1f4842e9977a0eee283c516959980c85cf9d54d1c0abdb0 xsa516-4.17.patch 09d87137da9d5065227c808a1150cdbb878ae05785d6929de0754184313546fa xsa516-4.18.patch $
DEPLOYMENT DURING EMBARGO =========================
Deployment of the patches and/or mitigations described above (or others which are substantially similar) is permitted during the embargo, even on public-facing systems with untrusted guest users and administrators.
But: Distribution of updated software is prohibited (except to other members of the predisclosure list).
Predisclosure list members who wish to deploy significantly different patches and/or mitigations, please contact the Xen Project Security Team.
(Note: this during-embargo deployment notice is retained in post-embargo publicly released Xen Project advisories, even though it is then no longer applicable. This is to enable the community to have oversight of the Xen Project Security Team's decisionmaking.)
For more information about permissible uses of embargoed information, consult the Xen Project community's agreed Security Policy: http://www.xenproject.org/security-policy.html -----BEGIN PGP SIGNATURE-----
iQFABAEBCAAqFiEEI+MiLBRfRHX6gGCng/4UyVfoK9kFAmrOIjwMHHBncEB4ZW4u b3JnAAoJEIP+FMlX6CvZ0LoH/Ap814NnaDiHkPGqPWg0/N8gEJmPgUvSXXsjI8gb t+aLjuG3tI6j12jWtohBj67RiDAYWc3mAaqr7c9tb1Bi24IyenZIf8gAvkS72sUi Hl4WPCMcmgp0xM8s9b1peep5XTSVH1s+xDLGmBx21jXhoop1IJ5Na9VV2PcX50MJ assI8h4VE9xAYnMzMbd14IzbGXWylAZLdJYLGBoI06X7eZvPNPUvkktJaMqmSJgS IeJuUKK8pb5AFlefSxzcu007olRLhXxQrbkKXbwnyS+ZXI9r02hh8njPUTy8p/PG sLS5NNIHalXlxIOtQ20H+Hbi0n80nKn2T3ctjsKkmBGUioU= =KASN -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Xen Security Advisory CVE-2026-79608 / XSA-515 version 2
x86/AMD: ineffectual Zenbleed workaround
UPDATES IN VERSION 2 ====================
Public release.
ISSUE DESCRIPTION =================
The workaround for XSA-433 (Zenbleed, CVE-2023-20593) was later re-worked to better integrate with other manipulations of the same MSR. In this rework an inverted conditional was introduced, resulting in the workaround to not be applied when needed and vice versa.
For more details, see: http://xenbits.xen.org/xsa/advisory-433.html
IMPACT ======
An attacker can exploit this bug to read data from different contexts on the same core. Examples of such data includes key material, cypher and plaintext from the AES-NI instructions, or the contents of REP-MOVS instructions, commonly used to implement memcpy().
VULNERABLE SYSTEMS ==================
Xen versions 4.19.4 and onwards, 4.20.3 and onwards, 4.21.1 and onwards, and 4.22 are affected. Xen versions 4.18, minor versions 4.19.3 and earlier, minor versions 4.20.2 and earlier, and 4.21.0 are not affected.
The vulnerability can only be leveraged on systems running out-of-date microcode. Microcode fixing Zenbleed was published in late 2023. Updated firmware subseqeuent to this, or e.g. updated amd-ucode from linux-firmware (for the subset of CPUs covered by linux-firmware) are not vulnerable.
The original issue and hence the applicability of the workaround is specific to the AMD Zen2 microarchitecture. AMD do not believe that other microarchitectures are affected.
MITIGATION ==========
This issue can be mitigated by disabling AVX, either by booting Xen with cpuid=no-avx on the command line, or by specifying cpuid="host:avx=0" in the vm.cfg file of all untrusted VMs. However, this will come with a significant impact on the system and is not recommended for anyone able to deploy the microcode or patch described below.
CREDITS =======
This issue was discovered by Sashiko + Opus 5.0 and diagnosed as a security issue by George Dunlap.
RESOLUTION ==========
Applying the attached patch resolves this issue.
Note that patches for released versions are generally prepared to apply to the stable branches, and may not apply cleanly to the most recent release tarball. Downstreams are encouraged to update to the tip of the stable branch before applying these patches.
xsa515.patch xen-unstable - Xen 4.19.x
$ sha256sum xsa515 d54c5f5443209e523c1d1b456063d105792058d402513bc1e56246b5938de6d8 xsa515.patch $
DEPLOYMENT DURING EMBARGO =========================
Deployment of the patches described above (or others which are substantially similar) is permitted during the embargo, even on public- facing systems with untrusted guest users and administrators.
HOWEVER, deployment of the mitigation is NOT permitted (except where all the affected systems and VMs are administered and used only by organisations which are members of the Xen Project Security Issues Predisclosure List). Specifically, deployment on public cloud systems is NOT permitted.
This is because altering exposure of AVX is a guest visible configuration change, which may lead to re-discovery of the issue.
Deployment of this mitigation is permitted only AFTER the embargo ends.
AND: Distribution of updated software is prohibited (except to other members of the predisclosure list).
Predisclosure list members who wish to deploy significantly different patches and/or mitigations, please contact the Xen Project Security Team.
(Note: this during-embargo deployment notice is retained in post-embargo publicly released Xen Project advisories, even though it is then no longer applicable. This is to enable the community to have oversight of the Xen Project Security Team's decisionmaking.)
For more information about permissible uses of embargoed information, consult the Xen Project community's agreed Security Policy: http://www.xenproject.org/security-policy.html -----BEGIN PGP SIGNATURE-----
iQFABAEBCAAqFiEEI+MiLBRfRHX6gGCng/4UyVfoK9kFAmrOIhsMHHBncEB4ZW4u b3JnAAoJEIP+FMlX6CvZKrYIAIKTxPm+Rvb9K2SvRJoHgjFDGTG0OxXqWFDjPnUR DKTx/URFmXCFT4PCGuAearWnkw25x0e80TdNfCrdHxDJzENSCcmb+5iIuM8nUtgo hMwNON4YUWn0GhBe3fcgAdlmxwWfhIJZHWt0LDrZrO9Nr21hmgVhvzME2VtH0EkA Yafi6ZixVwheA48w2to1cBjx27J5XucmvFoMgSRfW40YhpCmWDLDMv1F0vwxioyy vWVrk7pfYEj8n/hiap2MoI/pTDD6PruF+lWsO1fzHFwZHcUPOU+rV/elfEAA027E rRVsxob58ljY1IH/sMYOmSm7OQaGjau0kS7vC9kXtm7lmBQ= =NxYd -----END PGP SIGNATURE-----
[This CNA information record relates to multiple CVEs; the text explains which aspects/vulnerabilities correspond to which CVE.]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Xen Security Advisory CVE-2026-79605,CVE-2026-79606 / XSA-513 version 3
Out-of-bounds accesses in Tapdisk
UPDATES IN VERSION 3 ====================
Public release.
ISSUE DESCRIPTION =================
Tapdisk is a userspace xen-blkback implementation used by the XAPI toolstack. Several bounds checks have been found to be incorrect.
There is no upper bounds check for blkif->lastsect. Passing a value larger than 7 will result in a read or write beyond the mapped grant.
This is CVE-2026-79605.
The gcopysegs[] object has incorrect bounds checks on it. Passing nrsegments between 12 and 32 will corrupt adjacent memory.
This is CVE-2026-79606.
IMPACT ======
A malicious guest can obtain code execution within the tapdisk process running in dom0. Tapdisk normally runs as root.
VULNERABLE SYSTEMS ==================
All versions of tapdisk are vulnerable.
MITIGATION ==========
There are no mitigations.
CREDITS =======
Found by Jihwan Yoon of NAVER Cloud, and reported via XenServer.
RESOLUTION ==========
Applying the appropriate attached patchs resolves this issue.
xsa513-?.patch blktap master
$ sha256sum xsa513 41e5f1929a7acbe83820ee0b359f9558120222d32442ea4fb5a6eee0bf937bf1 xsa513-1.patch a5af5a73d2ede5124735213e4974f1aeff7f8118dfbacd52fbb03168fe96c6af xsa513-2.patch $
DEPLOYMENT DURING EMBARGO =========================
Deployment of the patches and/or mitigations described above (or others which are substantially similar) is permitted during the embargo, even on public-facing systems with untrusted guest users and administrators.
But: Distribution of updated software is prohibited (except to other members of the predisclosure list).
Predisclosure list members who wish to deploy significantly different patches and/or mitigations, please contact the Xen Project Security Team.
(Note: this during-embargo deployment notice is retained in post-embargo publicly released Xen Project advisories, even though it is then no longer applicable. This is to enable the community to have oversight of the Xen Project Security Team's decisionmaking.)
For more information about permissible uses of embargoed information, consult the Xen Project community's agreed Security Policy: http://www.xenproject.org/security-policy.html -----BEGIN PGP SIGNATURE-----
iQFABAEBCAAqFiEEI+MiLBRfRHX6gGCng/4UyVfoK9kFAmqf98kMHHBncEB4ZW4u b3JnAAoJEIP+FMlX6CvZiuMIAIaNhPYKG/UeGc1JV70GEcyqS4d6NNlNBY0qtuGl qVQ8LRVBReqRk0aS0hNDI7txFRsZ18ENteBKG/JaXD4mj5rylpnKdl7y8suTFrGi QuFk1EyYBrud5gtpwW8sq4GKQLf5hoAIIUDGX4qmEC+blRuHTagUIHNwehrkRB+d 38UxmWQR2ppgBSsCJlclMJKSm1nWo04Qx/Nm3Aoc0og0hv+/UkdkDShTGrP/nutb /r4yywz6LaqdCl7Te1ULx6sRVl1MIxtDqcvsRajqKc9nV56RAgrj3moIJRXRusW9 YqZxuUw8HJkhpisOlj6A/N16f+G7bxZwb3FEZBKuNGvM6lQ= =oXUQ -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Xen Security Advisory CVE-2026-79604 / XSA-512 version 3
oxenstored: Unbounded accumulation of watches
UPDATES IN VERSION 3 ====================
Public release.
ISSUE DESCRIPTION =================
Oxenstored maintains two datastructures about watches; one global trie, and one hashtable tracked per domain. When a xenbus reconnect is requested, watches are not cleared out of the global trie.
IMPACT ======
A guest can cause unbounded memory usage in oxenstored. This can lead to a system-wide DoS.
VULNERABLE SYSTEMS ==================
All version of Xen from 4.6 onwards are vulnerable.
Only systems using the Ocaml Xenstored implementation are vulnerable. Systems using the C Xenstored implementation are not vulnerable.
MITIGATION ==========
There are no mitigations.
CREDITS =======
Found by Anthropic using agents to study the security of open-source projects, with Ada Logics validating and reporting.
RESOLUTION ==========
Applying the appropriate set of attached patches resolves this issue.
Note that patches for released versions are generally prepared to apply to the stable branches, and may not apply cleanly to the most recent release tarball. Downstreams are encouraged to update to the tip of the stable branch before applying these patches.
For xen.git oxenstored:
xsa512-?.patch xen-unstable - Xen 4.18.x xsa512-4.17-?.patch Xen 4.17.x
For xapi-project/oxenstored:
xsa512-oxenstored-?.patch oxenstored master
$ sha256sum xsa512 c4f92a3e032f853a85cbd43391b6fd6a2c8f6f4caeee49bec9bc97a5279ce9a3 xsa512-1.patch 2cc57079eda8f0db34885e8be242d736f590ae8094c60a044b55b4889e10392f xsa512-2.patch 16bfa30473d4ba67dea69f1915357ecbe4aefc3b10bfd413f0bd7a7d2cfe2a80 xsa512-4.17-1.patch 7c23fb0e64429db074d7ec4cf7ba6ba319b69d5f1d059aa848c19b9ce148244c xsa512-4.17-2.patch 28c6267057ccf3508eee92dd82a9726e6b0d616fd7cc3e7dcee9cbfd3b0b80f7 xsa512-oxenstored-1.patch 00b9df35d9cc3ee393385a65725a2a681e31b9e00c4d1d76e0441e284f005707 xsa512-oxenstored-2.patch $
DEPLOYMENT DURING EMBARGO =========================
Deployment of the patches and/or mitigations described above (or others which are substantially similar) is permitted during the embargo, even on public-facing systems with untrusted guest users and administrators.
But: Distribution of updated software is prohibited (except to other members of the predisclosure list).
Predisclosure list members who wish to deploy significantly different patches and/or mitigations, please contact the Xen Project Security Team.
(Note: this during-embargo deployment notice is retained in post-embargo publicly released Xen Project advisories, even though it is then no longer applicable. This is to enable the community to have oversight of the Xen Project Security Team's decisionmaking.)
For more information about permissible uses of embargoed information, consult the Xen Project community's agreed Security Policy: http://www.xenproject.org/security-policy.html -----BEGIN PGP SIGNATURE-----
iQFABAEBCAAqFiEEI+MiLBRfRHX6gGCng/4UyVfoK9kFAmqf98gMHHBncEB4ZW4u b3JnAAoJEIP+FMlX6CvZk9kIAMqGI+5EVMLUd++EmpLqiTyGPcMYcDexca9XIpfJ Gx+DICPIRfRDCFtUG4jEeEDi8lmDvIKp5XXTNRkxyWF3uVKYDA5xCxekKOGmS40A p46pGzVVzGeSKdm2FfxEDDyuhhET5QrZLN98rJBcoL0/aX5sI4UoDR/FfdFemoAV BVrRG4WgQuBDa7+/t4jgZ8DysZbn/zmLoOtNIPVtaH5zvep0ehGQSnR8sAOEB+mV tmiW3kQoR1hxlOF/p1iVKLoBdOtJktwJ+Tk6OCCssS5TNGlGcpTs0KPukkXKwrem vYDYkHeUTf4rd3khUfCdW1S0Gc/3XSBtdL26VSj1xku5kMA= =6TLi -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Xen Security Advisory CVE-2026-79603 / XSA-511 version 3
Unconditionally do TLB flushing ahead of page scrubbing
UPDATES IN VERSION 3 ====================
Public release.
ISSUE DESCRIPTION =================
x86 PV guests can free memory pages while still keeping a stale TLB entry pointing to them. A TLB flush is only issued by Xen (if needed) when the page is re-used. Since it's possible for the page to be scrubbed ahead of the TLB flush, there's a window where a PV guest can modify an already scrubbed page.
IMPACT ======
Deployments using xsm=silo scrub-domheap with the aim of not allowing the exchange of information amongst guests are not effective in the presence of PV guests.
VULNERABLE SYSTEMS ==================
All Xen versions from 4.13 onwards are vulnerable. Xen versions 4.12 and earlier are not vulnerable as they lack the scrub-domheap command line option.
Only x86 PV guests can exploit the vulnerability.
MITIGATION ==========
There is no known mitigation.
CREDITS =======
This issue was discovered by Roger Pau Monné of AMD.
RESOLUTION ==========
Applying the appropriate attached patch resolves this issue.
Note that patches for released versions are generally prepared to apply to the stable branches, and may not apply cleanly to the most recent release tarball. Downstreams are encouraged to update to the tip of the stable branch before applying these patches.
xsa511.patch xen-unstable - Xen 4.22.x xsa511-4.21.patch Xen 4.21.x xsa511-4.20.patch Xen 4.20.x xsa511-4.19.patch Xen 4.19.x xsa511-4.18.patch Xen 4.18.x - Xen 4.17.x
$ sha256sum xsa511 ba3731960983ef88836f96655f917abb25447eab69fda1d9cf7f4e8203138403 xsa511.patch c05a2d9fb391739a9ed39aa9247be264eb039bdac74f2db3b51e20199e6234cd xsa511-4.18.patch 9653110b3e82ea5c28185d436b22231f39d6e875712a7c9c6882d8cb1bd0d406 xsa511-4.19.patch 0a475b8622d867210346612c5f97a9c3b7b638de2704d51fbd86317b6b11a840 xsa511-4.20.patch 61aa358aef962a1e4dda3dd45cac7436e395362e9b5f9314ad3c60d39231cb97 xsa511-4.21.patch $
DEPLOYMENT DURING EMBARGO =========================
Deployment of the patches and/or mitigations described above (or others which are substantially similar) is permitted during the embargo, even on public-facing systems with untrusted guest users and administrators.
But: Distribution of updated software is prohibited (except to other members of the predisclosure list).
Predisclosure list members who wish to deploy significantly different patches and/or mitigations, please contact the Xen Project Security Team.
(Note: this during-embargo deployment notice is retained in post-embargo publicly released Xen Project advisories, even though it is then no longer applicable. This is to enable the community to have oversight of the Xen Project Security Team's decisionmaking.)
For more information about permissible uses of embargoed information, consult the Xen Project community's agreed Security Policy: http://www.xenproject.org/security-policy.html -----BEGIN PGP SIGNATURE-----
iQFABAEBCAAqFiEEI+MiLBRfRHX6gGCng/4UyVfoK9kFAmqf98YMHHBncEB4ZW4u b3JnAAoJEIP+FMlX6CvZf6EH/3BoQ+95hSDLUYJzmWNdjdqwYpyrWe1RaMcXWfuM DuvbkEd6SIrtkhEmO8ZHSiBm2g5v9/SyXrm0L4NZ2+LcZWbOAx0PK9D3DOjpIZk2 LpQJg75GPWLkBZ62vgZlCzcXa0opVNSrmnJvYimoHvdplMpFQOhd7Ve3988XCx1G Mb7tKeQ7IdgAW0P/gMTGpunGL9dF58N2d8H5qbp5695tneszzW1UtAVB+4BxlEuh WenQ1hJVtEWznRTYvaEJ7v6CYBoY7TmeYkpZviGhTj8cuTWguMNrKuSitPkRNJ+P OLIQ/pz3E6PGhJxXWw8BpjkDzHf9ETACu1g+sa+18z6/+1o= =/FMW -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Xen Security Advisory CVE-2026-79602 / XSA-510 version 3
x86: improper handling of HVM emulation return codes
UPDATES IN VERSION 3 ====================
Public release.
ISSUE DESCRIPTION =================
A guest with a PCI device assigned that has at least a BAR on the IO port space can trigger a BUG() in Xen.
IMPACT ======
Passing through a PCI device with at least one BAR in IO address space to unprivileged HVM guests can result in a Denial of Service (DoS) affecting the entire host.
VULNERABLE SYSTEMS ==================
Xen versions 4.6 and later are vulnerable. This is known to be the case with the fix for XSA-491, but it's possible the issue can also be triggered from other, non-analyzed paths.
Only x86 systems are vulnerable. Arm systems are not vulnerable.
Only HVM guests with a PCI device with IO BARs assigned can leverage the vulnerability.
MITIGATION ==========
There is no mitigation available.
CREDITS =======
This issue was discovered by Jiqian Chen of AMD and diagnosed as a security issue by Roger Pau Monné of AMD.
RESOLUTION ==========
Applying the attached patch resolves this issue.
Note that patches for released versions are generally prepared to apply to the stable branches, and may not apply cleanly to the most recent release tarball. Downstreams are encouraged to update to the tip of the stable branch before applying these patches.
xsa510.patch xen-unstable - Xen 4.17.x
$ sha256sum xsa510 915cca4f0e6af998683a3551e5913d2489b23a697d5eab11358d4d8ffe0a0e55 xsa510.patch $
DEPLOYMENT DURING EMBARGO =========================
Deployment of the patches and/or mitigations described above (or others which are substantially similar) is permitted during the embargo, even on public-facing systems with untrusted guest users and administrators.
But: Distribution of updated software is prohibited (except to other members of the predisclosure list).
Predisclosure list members who wish to deploy significantly different patches and/or mitigations, please contact the Xen Project Security Team.
(Note: this during-embargo deployment notice is retained in post-embargo publicly released Xen Project advisories, even though it is then no longer applicable. This is to enable the community to have oversight of the Xen Project Security Team's decisionmaking.)
For more information about permissible uses of embargoed information, consult the Xen Project community's agreed Security Policy: http://www.xenproject.org/security-policy.html -----BEGIN PGP SIGNATURE-----
iQFABAEBCAAqFiEEI+MiLBRfRHX6gGCng/4UyVfoK9kFAmqf98UMHHBncEB4ZW4u b3JnAAoJEIP+FMlX6CvZ3GEIALHxkeOzpl3/ctf8o9R89LFTfayDXMY6xGbUTsRk oiLIoKkYkZJPtiG6cY8YGRvzm/UYr+KpeMBsNtm0EcbZlPClGjkEc7JSSpMvcVps XTzRkIUhyOTfpKklhDQJynIIpMu8NkJBLvyVYDcY8fpeZ7yDykMkQ4RyvXT5A56r Vn18FJ401QqBO0+NTD0aCcasiLFpfrsh3AhPfKLIi7c3q0tIayyNBS8NBSNss+TF OJew3jWX7bWnAUlPl4b8EMm4gwK/7o6YJYW+NMCTNMJ/UdfvOJkkq9T8l/41FIXq ArtZrFpKWxsitNoXG7pJIyH/C5wBH2DFABzfqgNjkpzfqKw= =sVA/ -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Xen Security Advisory CVE-2026-62437 / XSA-509 version 3
x86: DMs may cause mem leak by IRQ binding
UPDATES IN VERSION 3 ====================
Public release.
ISSUE DESCRIPTION =================
When guests are terminated, various pieces of cleanup need carrying out. The cleaning up of PCI devices which were assigned to guests, and the associated removal of tracking structures for IRQs used by the devices occurs relatively early in the process. Unfortunately after that point the guest about to be terminated could cause its device model (DM) to re-establish such tracking structures, by having it bind one or more IRQs anew. While some of those tracking structures would still be cleaned up later on, at least one would not be.
IMPACT ======
A HVM guest with one or more PCI devices assigned can cause a memory leak in the hypervisor, possibly leading to Denial of Service (DoS) of the entire host.
VULNERABLE SYSTEMS ==================
All Xen versions from at least 3.2 onwards are affected. Older versions have not been inspected.
Only HVM guests with assigned PCI devices can leverage the vulnerability.
MITIGATION ==========
Running only PV or PVH guests will avoid the vulnerability.
Running only HVM guests without passing through PCI devices to them will also avoid the vulnerability.
CREDITS =======
This issue was discovered by Jan Beulich of SUSE.
RESOLUTION ==========
Applying the attached patch resolves this issue.
Note that patches for released versions are generally prepared to apply to the stable branches, and may not apply cleanly to the most recent release tarball. Downstreams are encouraged to update to the tip of the stable branch before applying these patches.
xsa509.patch xen-unstable - Xen 4.17.x
$ sha256sum xsa509 1e027737afa753f3498102ceac4abe62b11a49cfa019f25bb19728a7931f9096 xsa509.patch $
DEPLOYMENT DURING EMBARGO =========================
Deployment of the patch described above (or others which are substantially similar) is permitted during the embargo, even on public-facing systems with untrusted guest users and administrators.
HOWEVER, deployment of the mitigation is NOT permitted (except where all the affected systems and VMs are administered and used only by organisations which are members of the Xen Project Security Issues Predisclosure List). Specifically, deployment on public cloud systems is NOT permitted.
This is because removing/replacing of pass-through devices or their replacement by emulated devices is a guest visible configuration change, which may lead to re-discovery of the issue.
Deployment of this mitigation is permitted only AFTER the embargo ends.
AND: Distribution of updated software is prohibited (except to other members of the predisclosure list).
Predisclosure list members who wish to deploy significantly different patches and/or mitigations, please contact the Xen Project Security Team.
(Note: this during-embargo deployment notice is retained in post-embargo publicly released Xen Project advisories, even though it is then no longer applicable. This is to enable the community to have oversight of the Xen Project Security Team's decisionmaking.)
For more information about permissible uses of embargoed information, consult the Xen Project community's agreed Security Policy: http://www.xenproject.org/security-policy.html -----BEGIN PGP SIGNATURE-----
iQFABAEBCAAqFiEEI+MiLBRfRHX6gGCng/4UyVfoK9kFAmqf970MHHBncEB4ZW4u b3JnAAoJEIP+FMlX6CvZ6hYIAIDrF44cxjA9slR5fXYXpQvlGHE8wvTr5F5vNdXO JlB8yMQjdUPMfSLX0oMPapUwLE/UzFFA/MTXORrK6nj3TbRRHLqF9e9upL6e3QHH RrV4m2R5OSVjD6PG+T+e24ES5I4SLUTWv9i4vQZPzY54rjMtZ4d53DZk2eQ5v9kj ozYgQzwk5vMvRhnPv6MVdcBr2EfQ274+XxMKioMBZaFuv+zeomaQTAiok8gXhotX 6twiuhuhvMOtF2FA8V1WkKwUqw5NKm/plv54d8RRB/XNdxPe/8bxY0NlLGgRpMf3 cjSqsuhpEgpY3Vh62v3S0fAtExnWppdb/glJE+g4MZGzC7s= =J7JJ -----END PGP SIGNATURE-----
When guests are terminated, various pieces of cleanup need carrying out. The cleaning up of PCI devices which were assigned to guests, and the associated removal of tracking structures for IRQs used by the devices occurs relatively early in the process. Unfortunately after that point the guest about to be terminated could cause its device model (DM) to re-establish such tracking structures, by having it bind one or more IRQs anew. While some of those tracking structures would still be cleaned up later on, at least one would not be.
x86 PV guests can free memory pages while still keeping a stale TLB entry pointing to them. A TLB flush is only issued by Xen (if needed) when the page is re-used. Since it's possible for the page to be scrubbed ahead of the TLB flush, there's a window where a PV guest can modify an already scrubbed page.
A guest started with Populated on Demand enabled (PoD) can attempt to reclaim pages which aren't regular guest RAM. This can cause corruption of memory management state in Xen.
Parts of the DMOP handling code assumes the caller has provided the required number of buffers for the given operation without any checking being done. As a result, certain operations might access stack rubble as structures are possibly uninitialized.
The EVTCHNOPexpandarray hypercall checks for whether FIFO event channels are enabled, but without holding the correct lock. It can race with EVTCHNOPreset, resulting in dereferencing a NULL pointer.